﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020014C7 RID: 5319
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class UpdateRedDotDataCsReq : IMessage<UpdateRedDotDataCsReq>, IMessage, IEquatable<UpdateRedDotDataCsReq>, IDeepCloneable<UpdateRedDotDataCsReq>, IBufferMessage
	{
		// Token: 0x170042F2 RID: 17138
		// (get) Token: 0x0600EDD5 RID: 60885 RVA: 0x0027B48F File Offset: 0x0027968F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<UpdateRedDotDataCsReq> Parser
		{
			get
			{
				return UpdateRedDotDataCsReq._parser;
			}
		}

		// Token: 0x170042F3 RID: 17139
		// (get) Token: 0x0600EDD6 RID: 60886 RVA: 0x0027B496 File Offset: 0x00279696
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return UpdateRedDotDataCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170042F4 RID: 17140
		// (get) Token: 0x0600EDD7 RID: 60887 RVA: 0x0027B4A8 File Offset: 0x002796A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return UpdateRedDotDataCsReq.Descriptor;
			}
		}

		// Token: 0x0600EDD8 RID: 60888 RVA: 0x0027B4AF File Offset: 0x002796AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateRedDotDataCsReq()
		{
		}

		// Token: 0x0600EDD9 RID: 60889 RVA: 0x0027B4C4 File Offset: 0x002796C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateRedDotDataCsReq(UpdateRedDotDataCsReq other) : this()
		{
			this.switchList_ = other.switchList_.Clone();
			this.panelId_ = other.panelId_;
			this.groupId_ = other.groupId_;
			this.lFNNHDHFHHF_ = other.lFNNHDHFHHF_;
			this.iJMFKIPNONM_ = other.iJMFKIPNONM_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600EDDA RID: 60890 RVA: 0x0027B529 File Offset: 0x00279729
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateRedDotDataCsReq Clone()
		{
			return new UpdateRedDotDataCsReq(this);
		}

		// Token: 0x170042F5 RID: 17141
		// (get) Token: 0x0600EDDB RID: 60891 RVA: 0x0027B531 File Offset: 0x00279731
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> SwitchList
		{
			get
			{
				return this.switchList_;
			}
		}

		// Token: 0x170042F6 RID: 17142
		// (get) Token: 0x0600EDDC RID: 60892 RVA: 0x0027B539 File Offset: 0x00279739
		// (set) Token: 0x0600EDDD RID: 60893 RVA: 0x0027B541 File Offset: 0x00279741
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PanelId
		{
			get
			{
				return this.panelId_;
			}
			set
			{
				this.panelId_ = value;
			}
		}

		// Token: 0x170042F7 RID: 17143
		// (get) Token: 0x0600EDDE RID: 60894 RVA: 0x0027B54A File Offset: 0x0027974A
		// (set) Token: 0x0600EDDF RID: 60895 RVA: 0x0027B552 File Offset: 0x00279752
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GroupId
		{
			get
			{
				return this.groupId_;
			}
			set
			{
				this.groupId_ = value;
			}
		}

		// Token: 0x170042F8 RID: 17144
		// (get) Token: 0x0600EDE0 RID: 60896 RVA: 0x0027B55B File Offset: 0x0027975B
		// (set) Token: 0x0600EDE1 RID: 60897 RVA: 0x0027B563 File Offset: 0x00279763
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LFNNHDHFHHF
		{
			get
			{
				return this.lFNNHDHFHHF_;
			}
			set
			{
				this.lFNNHDHFHHF_ = value;
			}
		}

		// Token: 0x170042F9 RID: 17145
		// (get) Token: 0x0600EDE2 RID: 60898 RVA: 0x0027B56C File Offset: 0x0027976C
		// (set) Token: 0x0600EDE3 RID: 60899 RVA: 0x0027B574 File Offset: 0x00279774
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MIHEAGBCOMO IJMFKIPNONM
		{
			get
			{
				return this.iJMFKIPNONM_;
			}
			set
			{
				this.iJMFKIPNONM_ = value;
			}
		}

		// Token: 0x0600EDE4 RID: 60900 RVA: 0x0027B57D File Offset: 0x0027977D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as UpdateRedDotDataCsReq);
		}

		// Token: 0x0600EDE5 RID: 60901 RVA: 0x0027B58C File Offset: 0x0027978C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(UpdateRedDotDataCsReq other)
		{
			return other != null && (other == this || (this.switchList_.Equals(other.switchList_) && this.PanelId == other.PanelId && this.GroupId == other.GroupId && this.LFNNHDHFHHF == other.LFNNHDHFHHF && this.IJMFKIPNONM == other.IJMFKIPNONM && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600EDE6 RID: 60902 RVA: 0x0027B60C File Offset: 0x0027980C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.switchList_.GetHashCode();
			if (this.PanelId != 0U)
			{
				num ^= this.PanelId.GetHashCode();
			}
			if (this.GroupId != 0U)
			{
				num ^= this.GroupId.GetHashCode();
			}
			if (this.LFNNHDHFHHF != 0U)
			{
				num ^= this.LFNNHDHFHHF.GetHashCode();
			}
			if (this.IJMFKIPNONM != MIHEAGBCOMO.UpdateReddotNone)
			{
				num ^= this.IJMFKIPNONM.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600EDE7 RID: 60903 RVA: 0x0027B6AA File Offset: 0x002798AA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600EDE8 RID: 60904 RVA: 0x0027B6B2 File Offset: 0x002798B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600EDE9 RID: 60905 RVA: 0x0027B6BC File Offset: 0x002798BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GroupId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.GroupId);
			}
			if (this.LFNNHDHFHHF != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.LFNNHDHFHHF);
			}
			if (this.IJMFKIPNONM != MIHEAGBCOMO.UpdateReddotNone)
			{
				output.WriteRawTag(48);
				output.WriteEnum((int)this.IJMFKIPNONM);
			}
			this.switchList_.WriteTo(ref output, UpdateRedDotDataCsReq._repeated_switchList_codec);
			if (this.PanelId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.PanelId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600EDEA RID: 60906 RVA: 0x0027B760 File Offset: 0x00279960
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.switchList_.CalculateSize(UpdateRedDotDataCsReq._repeated_switchList_codec);
			if (this.PanelId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PanelId);
			}
			if (this.GroupId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GroupId);
			}
			if (this.LFNNHDHFHHF != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LFNNHDHFHHF);
			}
			if (this.IJMFKIPNONM != MIHEAGBCOMO.UpdateReddotNone)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.IJMFKIPNONM);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600EDEB RID: 60907 RVA: 0x0027B7FC File Offset: 0x002799FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(UpdateRedDotDataCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.switchList_.Add(other.switchList_);
			if (other.PanelId != 0U)
			{
				this.PanelId = other.PanelId;
			}
			if (other.GroupId != 0U)
			{
				this.GroupId = other.GroupId;
			}
			if (other.LFNNHDHFHHF != 0U)
			{
				this.LFNNHDHFHHF = other.LFNNHDHFHHF;
			}
			if (other.IJMFKIPNONM != MIHEAGBCOMO.UpdateReddotNone)
			{
				this.IJMFKIPNONM = other.IJMFKIPNONM;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600EDEC RID: 60908 RVA: 0x0027B885 File Offset: 0x00279A85
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600EDED RID: 60909 RVA: 0x0027B890 File Offset: 0x00279A90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 48U)
				{
					if (num == 8U)
					{
						this.GroupId = input.ReadUInt32();
						continue;
					}
					if (num == 16U)
					{
						this.LFNNHDHFHHF = input.ReadUInt32();
						continue;
					}
					if (num == 48U)
					{
						this.IJMFKIPNONM = (MIHEAGBCOMO)input.ReadEnum();
						continue;
					}
				}
				else
				{
					if (num == 72U || num == 74U)
					{
						this.switchList_.AddEntriesFrom(ref input, UpdateRedDotDataCsReq._repeated_switchList_codec);
						continue;
					}
					if (num == 88U)
					{
						this.PanelId = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04005E05 RID: 24069
		private static readonly MessageParser<UpdateRedDotDataCsReq> _parser = new MessageParser<UpdateRedDotDataCsReq>(() => new UpdateRedDotDataCsReq());

		// Token: 0x04005E06 RID: 24070
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005E07 RID: 24071
		public const int SwitchListFieldNumber = 9;

		// Token: 0x04005E08 RID: 24072
		private static readonly FieldCodec<uint> _repeated_switchList_codec = FieldCodec.ForUInt32(74U);

		// Token: 0x04005E09 RID: 24073
		private readonly RepeatedField<uint> switchList_ = new RepeatedField<uint>();

		// Token: 0x04005E0A RID: 24074
		public const int PanelIdFieldNumber = 11;

		// Token: 0x04005E0B RID: 24075
		private uint panelId_;

		// Token: 0x04005E0C RID: 24076
		public const int GroupIdFieldNumber = 1;

		// Token: 0x04005E0D RID: 24077
		private uint groupId_;

		// Token: 0x04005E0E RID: 24078
		public const int LFNNHDHFHHFFieldNumber = 2;

		// Token: 0x04005E0F RID: 24079
		private uint lFNNHDHFHHF_;

		// Token: 0x04005E10 RID: 24080
		public const int IJMFKIPNONMFieldNumber = 6;

		// Token: 0x04005E11 RID: 24081
		private MIHEAGBCOMO iJMFKIPNONM_;
	}
}
